package com.atguigu.lease.web.app.service;

import com.atguigu.lease.model.entity.ViewAppointment;
import com.atguigu.lease.web.app.vo.appointment.AppointmentDetailVo;
import com.atguigu.lease.web.app.vo.appointment.AppointmentItemVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author yangchengbao
* @description 针对表【view_appointment(预约看房信息表)】的数据库操作Service
* @createDate 2023-07-26 11:12:39
*/
public interface ViewAppointmentService extends IService<ViewAppointment> {
    /**
     * @param userId
     * @Desceription: 查询个人预约看房列表
     * @Return: java.util.List<com.atguigu.lease.web.app.vo.appointment.AppointmentItemVo>
     * @Author: yangchengbao
     * @Date: 2025-01-11 11:01:95
     */
    List<AppointmentItemVo> listItem(Long userId);

    /**
     * @param id
     * @Desceription: 根据ID查询预约详情信息
     * @Return: com.atguigu.lease.web.app.vo.appointment.AppointmentDetailVo
     * @Author: yangchengbao
     * @Date: 2025-01-11 11:01:80
     */
    AppointmentDetailVo getDatailById(Long id);
}
